from django.conf.urls.defaults import *
from cudoc import settings

urlpatterns = patterns('',
    # Example:
    # (r'^cudoc/', include('cudoc.apps.foo.urls.foo')),
    (r'^$', 'cudoc.dashboard.views.index'),
    (r'^dashboard', 'cudoc.dashboard.views.index'),
    (r'^space', 'cudoc.space.views.index'),
    (r'^space/(?P<space_id>\d+)/$', 'cudoc.space.views.space'),

    # Uncomment this for admin:
    (r'^admin/', include('django.contrib.admin.urls')),
    (r'^static/(.*)$', 'utils.staticview.serve', {'document_root': settings.static}),
)
